package cn.leyaber.hrm.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ma.rui.kai
 * @since 2020-10-22
 */
@TableName("customer_chatuaer")
public class Chatuaer extends Model<Chatuaer> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    @TableField("user_id")
    private Long userId;
    private String headportrait;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getHeadportrait() {
        return headportrait;
    }

    public void setHeadportrait(String headportrait) {
        this.headportrait = headportrait;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Chatuaer{" +
        ", id=" + id +
        ", userId=" + userId +
        ", headportrait=" + headportrait +
        "}";
    }
}
